package com.dolphin.fly.service.system;

import com.dolphin.fly.domain.entity.system.User;

public interface UserService
{
    public static final String HASH_ALGORITHM = "SHA-1";
    
    public static final int HASH_INTERATIONS = 1024;
    
    public static final int SALT_SIZE = 8;
    
    public User findById(Long id);
    
    public User save(User user);
    
    public User findUserByLoginName(String username);
    
}
